package com.ruoyi.report.domain;

import com.ruoyi.attachedData.domain.AttachedData;
import com.ruoyi.attachedRecord.domain.AttachedRecord;
import com.ruoyi.sample.domain.Sample;
import com.ruoyi.sampleRecord.domain.SampleRecord;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 检测报告对象 gc_report
 *
 * @author ruoyi
 * @date 2025-05-08
 */
@ApiModel
public class Report extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "序号")
    @ApiModelProperty(value = "${comment}")
    private Long id;

    @Excel(name = "工程名称")
    private String engineeringName;

    @Excel(name = "委托单位")
    private String enterpriseName;

    @Excel(name = "委托编号")
    private String gsNumber;

    @Excel(name = "委托日期")
    private String commissionDate;

    @Excel(name = "检测类别")
    private String businessType;

    /** 试验项目 */
    @Excel(name = "试验项目")
    @ApiModelProperty(value = "试验项目")
    private String project;

    /** 报告编号 */
    @Excel(name = "报告编号")
    @ApiModelProperty(value = "报告编号")
    private String reportNumber;

    @Excel(name = "报告日期")
    private String reportDate;


    @Excel(name = "项目经理")
    private String businessManagerName;

    /** 委托单id */
//    @Excel(name = "委托单id")
    @ApiModelProperty(value = "委托单id")
    private Long commissionId;

//    @Excel(name = "试验数量")
    private String testNum;

//    @Excel(name = "试验人员")
    private String chargePerson;

    @Excel(name = "发放日期")
    private String grantDate;

    @Excel(name = "发放份数")
    private String grantNum;

    @Excel(name = "发放人员")
    private String grantStaff;

    @Excel(name = "发放方式")
    private String grantType;

    private String sampleNumber;
    private Long enterpriseId;
    private String startCreateTime;
    private String category;
    private String endCreateTime;


    /** 工程id */
//    @Excel(name = "工程id")
    @ApiModelProperty(value = "工程id")
    private Long engineeringId;

    /** 样品id */
//    @Excel(name = "样品id")
    @ApiModelProperty(value = "样品id")
    private Long sampleId;



    public String getReportDate() {return reportDate;}
    public void setReportDate(String reportDate) {
        this.reportDate = reportDate;
    }

    /** 报告文件 */
//    @Excel(name = "报告文件")
    @ApiModelProperty(value = "报告文件")
    private String reportFile;

    /** 检测数据文件 */
//    @Excel(name = "检测数据文件")
    @ApiModelProperty(value = "检测数据文件")
    private String dataFile;


    /** 发放日期 */

    public String getGrantDate() {return grantDate;}
    public void setGrantDate(String grantDate) {
        this.grantDate = grantDate;
    }

    /** 发放份数 */

    public String getGrantNum() {return grantNum;}
    public void setGrantNum(String grantNum) {
        this.grantNum = grantNum;
    }


    /** 发放人员 */

    public String getGrantStaff() {return grantStaff;}
    public void setGrantStaff(String grantStaff) {
        this.grantStaff = grantStaff;
    }

    /** 发放方式 */

    public String getGrantType() {return grantType;}
    public void setGrantType(String grantType) {
        this.grantType = grantType;
    }


    public String getBusinessManagerName() {return businessManagerName;}
    public void setBusinessManagerName(String businessManagerName) {
        this.businessManagerName = businessManagerName;
    }

    /** 检测开始日期 */
//    @Excel(name = "检测开始日期")
    @ApiModelProperty(value = "检测开始日期")
    private String startDate;
    public String getStartDate() {
        return startDate;
    }
    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    /** 检测结束日期 */
    private String endDate;
    public String getEndDate() {
        return endDate;
    }
    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }


    /** 仪器id */
    private Long instrumentId;
    public Long getInstrumentId() {
        return instrumentId;
    }
    public void setInstrumentId(Long instrumentId) {
        this.instrumentId = instrumentId;
    }


    public String getTestNum() {
        return testNum;
    }
    public void setTestNum(String testNum) {
        this.testNum = testNum;
    }

    /** 原始编号 */
    private String originalNumber;
    public String getOriginalNumber() {return originalNumber;}
    public void setOriginalNumber(String originalNumber) {
        this.originalNumber = originalNumber;
    }

    /** 检测数据名称 */
    private String dataFileName;
    public String getDataFileName() {return dataFileName;}
    public void setDataFileName(String dataFileName) {
        this.dataFileName = dataFileName;
    }

    /** 检测数据名称 */
    private String reportFileName;
    public String getReportFileName() {return reportFileName;}
    public void setReportFileName(String reportFileName) {
        this.reportFileName = reportFileName;
    }

    /** 检测结束日期 */

    public String getBusinessType() {
        return businessType;
    }
    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    /** 室内（检测） */
    private Sample sampleOne;
    public Sample getSampleOne() {
        return sampleOne;
    }
    public void setSampleOne(Sample sampleOne) {
        this.sampleOne = sampleOne;
    }

    private List<SampleRecord> sampleRecordList;
    public List<SampleRecord> getSampleRecordList() {
        return sampleRecordList;
    }
    public void setSampleRecordList(List<SampleRecord> sampleRecordList) {
        this.sampleRecordList = sampleRecordList;
    }
    /** 试验项目id attached_data_id*/
    private String attachedDataId;
    public String getAttachedDataId() {return attachedDataId;}
    public void setAttachedDataId(String attachedDataId) {
        this.attachedDataId = attachedDataId;
    }


    private AttachedData attachedDataOne;
    public AttachedData getAttachedDataOne() {
        return attachedDataOne;
    }
    public void setAttachedDataOne(AttachedData attachedDataOne) {
        this.attachedDataOne = attachedDataOne;
    }


    private List<AttachedRecord> attachedRecordList;
    public List<AttachedRecord> getAttachedRecordList() {return attachedRecordList;}
    public void setAttachedRecordList(List<AttachedRecord> attachedRecordList) {
        this.attachedRecordList = attachedRecordList;
    }

    private Integer doingSum;
    public void setDoingSum(Integer doingSum)
    {
        this.doingSum = doingSum;
    }
    public Integer getDoingSum()
    {
        return doingSum;
    };

    private String projectOld;
    public void setProjectOld(String projectOld)
    {
        this.projectOld = projectOld;
    }
    public String getProjectOld()
    {
        return projectOld;
    };


    private Long isRoleShow;
    public void setIsRoleShow(Long isRoleShow)
    {
        this.isRoleShow = isRoleShow;
    }
    public Long getIsRoleShow()
    {
        return isRoleShow;
    }

    private List<Long> idsList;
    public void setIdsList(List<Long> idsList)
    {
        this.idsList = idsList;
    }
    public List<Long> getIdsList()
    {
        return idsList;
    }

    private List<Long> ids;
    public void setIds(List<Long> ids)
    {
        this.ids = ids;
    }
    public List<Long> getIds()
    {
        return ids;
    }

    private String[] projectstr;
    public String[] getProjectstr() {return projectstr;}
    public void setProjectstr(String[] projectstr) {
        this.projectstr = projectstr;
    }

    public String getStartCreateTime() {
        return startCreateTime;
    }

    public void setStartCreateTime(String startCreateTime) {
        this.startCreateTime = startCreateTime;
    }

    public String getEndCreateTime() {
        return endCreateTime;
    }

    public void setEndCreateTime(String endCreateTime) {
        this.endCreateTime = endCreateTime;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getGsNumber() {
        return gsNumber;
    }

    public void setGsNumber(String gsNumber) {
        this.gsNumber = gsNumber;
    }

    public String getEngineeringName() {
        return engineeringName;
    }

    public void setEngineeringName(String engineeringName) {
        this.engineeringName = engineeringName;
    }

    public String getCommissionDate() {
        return commissionDate;
    }

    public void setCommissionDate(String commissionDate) {
        this.commissionDate = commissionDate;
    }

    public String getSampleNumber() {
        return sampleNumber;
    }

    public void setSampleNumber(String sampleNumber) {
        this.sampleNumber = sampleNumber;
    }

    public String getChargePerson() {
        return chargePerson;
    }

    public void setChargePerson(String chargePerson) {
        this.chargePerson = chargePerson;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCommissionId(Long commissionId)
    {
        this.commissionId = commissionId;
    }

    public Long getCommissionId()
    {
        return commissionId;
    }
    public void setProject(String project)
    {
        this.project = project;
    }

    public String getProject()
    {
        return project;
    }
    public void setReportNumber(String reportNumber)
    {
        this.reportNumber = reportNumber;
    }

    public String getReportNumber()
    {
        return reportNumber;
    }
    public void setReportFile(String reportFile)
    {
        this.reportFile = reportFile;
    }

    public String getReportFile()
    {
        return reportFile;
    }
    public void setEngineeringId(Long engineeringId)
    {
        this.engineeringId = engineeringId;
    }

    public Long getEngineeringId()
    {
        return engineeringId;
    }
    public void setSampleId(Long sampleId)
    {
        this.sampleId = sampleId;
    }

    public Long getSampleId()
    {
        return sampleId;
    }
    public void setDataFile(String dataFile)
    {
        this.dataFile = dataFile;
    }

    public String getDataFile()
    {
        return dataFile;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commissionId", getCommissionId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("updateBy", getUpdateBy())
            .append("project", getProject())
            .append("reportNumber", getReportNumber())
            .append("reportFile", getReportFile())
            .append("engineeringId", getEngineeringId())
            .append("sampleId", getSampleId())
            .append("dataFile", getDataFile())
            .toString();
    }
}
